package org.rest



class Product {
	String name
	int quantityPerUnit
	double unitPrice
	int unitInStock
	int unitOnOrders
	String  reorderLevel
	boolean discontinued
	Suppliers supplier
	Categories category
	
	static constraints = {
		reorderLevel(nullable:true)
		discontinued(nullable:true)
		supplier(nullable:true)
		category(nullable:true)
		quantityPerUnit(nullable:true)
	}
}
